﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using SadlandVillage.Core.Helper;
using Microsoft.Xna.Framework.Input;

namespace SadlandVillage.Minigames.Restaurant.Helper
{
    public static class StaticContainer
    {
        //Auxiliary
        private static ButtonState leftButton;
        public static Texture2D blackPoint;
        public static Texture2D cursor;

        //Dishes
        public static Texture2D pizzaEmpty;
        public static Texture2D pizzaFull;
        public static Texture2D chickenEmpty;
        public static Texture2D chickenFull;
        public static Texture2D feijoadaEmpty;
        public static Texture2D feijoadaFull;
        public static Texture2D fishEmpty;
        public static Texture2D fishFull;
        public static Texture2D foieGrasEmpty;
        public static Texture2D foieGrasFull;
        public static Texture2D lobsterEmpty;
        public static Texture2D lobsterFull;
        public static Texture2D sandwichEmpty;
        public static Texture2D sandwichFull;
        public static Texture2D sushiEmpty;
        public static Texture2D sushiFull;

        //Backgrounds
        public static Texture2D intro;
        public static Texture2D intro2;
        public static Texture2D kitchen;
        public static Texture2D kitchenEmpty;
        public static Texture2D gameOverLose;
        public static Texture2D gameOverWin;

        //Alternative Fonts
        public static SpriteFont getReadyFont;

        //Pontuation
        public static Dictionary<Plates, Pair<int>> platesXtotal = new Dictionary<Plates, Pair<int>>();

        //Methods
        public static bool IsMouseClick()
        {
            bool result = false;
            if (Mouse.GetState().LeftButton == ButtonState.Pressed && leftButton == ButtonState.Released)
            {
                result = true;
            }
            leftButton = Mouse.GetState().LeftButton;

            return result;
        }
    }
}
